<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/10/18
  Time: 9:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title></title>
</head>
<body>
<form action="comment_${id == null ?'add':'edit'}.action" method="post">
    <input type="hidden" value="${id}" name="id">
    <input type="hidden" value="${parentId}" name="parentId">
    <input type="hidden" value="${articleId}" name="articleId">
    <input type="hidden" value="${topId}" name="topId">
    用户名:<input type="text" name="username">
    <br/>
    评论内容:<textarea name="content"></textarea>
    <br/>
    <button type="submit">评论</button>
</form>
</body>
</html>
